#include <stdio.h>

int main(){
    int tabNum = 0;
    int blankNum = 0;
    int newLineNum = 0;
    int inputChar;
    while ((inputChar = getchar()) != EOF)
    {
        if(inputChar == '\t')
            ++ tabNum;
        if(inputChar == '\n')
            ++ newLineNum;
        if(inputChar == ' ')
            ++ blankNum;
    }
    printf("tab: %d, blank: %d, newLine: %d\n", tabNum, blankNum, newLineNum);
    printf("%d", inputChar);
    return 0;
}